package com.mapbased.sfw.model;

import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;

public class EnumItem implements java.io.Externalizable {
	public int id;
	// String value;
	/**
	 * 用于获取下级枚举的数据,如果不存在层级关系，则为null
	 */
	public String name;
	/**
	 * 标题，必须
	 */
	public String caption;
	/**
	 * 注释，可有可无
	 */
	public String comment;

	@Override
	public void readExternal(ObjectInput in) throws IOException,
			ClassNotFoundException {

	}

	@Override
	public void writeExternal(ObjectOutput out) throws IOException {
		// TODO Auto-generated method stub

	}

}
